.Net Framework > v1.1.4322 > System > Messaging > MessageEnumerator > RemoveCurrent RemoveCurrent()
RemoveCurrent(MessageQueueTransaction)
RemoveCurrent(MessageQueueTransactionType)
RemoveCurrent(TimeSpan)
RemoveCurrent(TimeSpan,MessageQueueTransaction)
RemoveCurrent(TimeSpan,MessageQueueTransactionType)


RemoveCurrent()

Category
Method
Description
Removes the current message from a transactional or non-transactional queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.
Type
Message
Character
public
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

RemoveCurrent(MessageQueueTransaction)

Category
Method
Description
Removes the current message from a transactional queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.
Type
Message
Character
public
Parameters
NameTypeDescription
transactionMessageQueueTransaction
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

RemoveCurrent(MessageQueueTransactionType)

Category
Method
Description
Removes the current message from a queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.
Type
Message
Character
public
Parameters
NameTypeDescription
transactionTypeMessageQueueTransactionType
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

RemoveCurrent(TimeSpan)

Category
Method
Description
Removes the current message from the queue and returns the message to the calling application. If there is a message to remove, the method returns it immediately. Otherwise, the method waits the specified timeout for a new message to arrive.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

RemoveCurrent(TimeSpan,MessageQueueTransaction)

Category
Method
Description
Removes the current message from a transactional queue and returns the message to the calling application. If there is a message to remove, the method returns it immediately. Otherwise, the method waits the specified timeout for a new message to arrive.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
transactionMessageQueueTransaction
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

RemoveCurrent(TimeSpan,MessageQueueTransactionType)

Category
Method
Description
Removes the current message from a queue and returns the message to the calling application. If there is a message to remove, the method returns it immediately. Otherwise, the method waits the specified timeout for a new message to arrive.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
transactionTypeMessageQueueTransactionType
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database